// 对外暴露配置路由(常量路由)
export const constantRoute = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
    // 配置动态路由 - 命名路由
    name: 'home',
    component: () => import('../view/home/index.vue'),
  },
  {
    path: '/standing',
    // 配置动态路由 - 命名路由
    name: 'standing',
    component: () => import('../view/standing/index.vue'),
  },
  {
    path: '/copywriting',
    // 配置动态路由 - 命名路由
    name: 'copywriting',
    component: () => import('../view/copywriting/index.vue'),
  },
  {
    path: '/huizhang',
    // 配置动态路由 - 命名路由
    name: 'huizhang',
    component: () => import('../view/huizhang/index.vue'),
  },
  {
    path: '/yghb',
    // 配置动态路由 - 命名路由
    name: 'yghb',
    component: () => import('../view/huizhang/yghb.vue'),
  },
  {
    path: '/playIndex',
    // 配置动态路由 - 命名路由
    name: 'playIndex',
    component: () => import('../view/play/index.vue'),
  },
  {
    path: '/play',
    // 配置动态路由 - 命名路由
    name: 'play',
    component: () => import('../view/play/paly.vue'),
  },
  {
    path: '/answer',
    // 配置动态路由 - 命名路由
    name: 'answer',
    component: () => import('../view/play/answer.vue'),
  },
  {
    path: '/prizeDraw',
    // 配置动态路由 - 命名路由
    name: 'prizeDraw',
    component: () => import('../view/play/prizeDraw.vue'),
  },
]
